﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MagicSauce.Controllers;
using NUnit.Framework;
using MvcContrib.TestHelper;

namespace Testes
{
    [TestFixture]
    public class TestsHomeController
    {
        protected ApplicationController<object, int> _controller = null;

        [SetUp()]
        public void Setup()
        {
            _controller = new HomeController();
           

        }

        [Test]
        public void can_navigate_to_index_view()
        {
            _controller.Index().AssertViewRendered(); 
        }

    

    }
}
